package com.tz.service;

import com.tz.entity.Category;
import com.tz.entity.Product;

import java.util.List;

/**
 * Created by Administrator on 16-7-20.
 */
public interface ProductService {

    Product getProduct(long id);

    List<Product> getAllProducts();

    List<Category> getAllCategories();

    public List<Product> getProductsByCId(long id);
}
